static_library("Core") {
  output_name = "LLVMBOLTCore"
  configs += [ "//llvm/utils/gn/build:bolt_code" ]
  deps = [
    "//bolt/lib/Utils",
    "//llvm/lib/DebugInfo/DWARF",
    "//llvm/lib/Demangle",
    "//llvm/lib/MC",
    "//llvm/lib/MC/MCDisassembler",
    "//llvm/lib/Object",
    "//llvm/lib/Support",
    "//llvm/lib/TargetParser",
    "//llvm/utils/gn/build/libs/pthread",
  ]
  sources = [
    "BinaryBasicBlock.cpp",
    "BinaryContext.cpp",
    "BinaryData.cpp",
    "BinaryEmitter.cpp",
    "BinaryFunction.cpp",
    "BinaryFunctionProfile.cpp",
    "BinarySection.cpp",
    "DebugData.cpp",
    "DynoStats.cpp",
    "Exceptions.cpp",
    "FunctionLayout.cpp",
    "JumpTable.cpp",
    "MCPlusBuilder.cpp",
    "ParallelUtilities.cpp",
    "Relocation.cpp",
  ]
}
